package com.jh.readme.iu.fragment.picturelist;

import com.jh.tools.bean.SinaPhotoList;
import com.jh.tools.common.http.RequestMange;

import java.util.Map;

import rx.Observable;

/**
 * Created by niejiahuan on 2016/5/31.
 */
public class PictureListModel implements PictureListContract.Model {
    @Override
    public Observable<SinaPhotoList> getDateImgList(String photoTypeId, int page) {
        return RequestMange.getInstance().getSinaPhotoListObservable(photoTypeId,page);
    }

    @Override
    public Observable getDate(Map<String, String> map) {
        return null;
    }
}
